0af5b9d27dcd2fe343e5f374851a21bc4707f3a8,sveditor/plugins/net.sf.sveditor.ui/src/net/sf/sveditor/ui/editor/actions/FoldActionCollapse.java,FoldActionCollapse,execute,#ExecutionEvent#,20
Before Change
// Try a couple of offsets in case we're just outside a fold region
int offset = tsel.getOffset();
for (int i=0; i<2; i++) {
it = (Iterator<Object>)pm.getAnnotationIterator(offset, tsel.getLength(), true, true);
if (it.hasNext()) {
break;
}
After Change
// Try a couple of offsets in case we're just outside a fold region
int offset = tsel.getOffset();
for (int i=0; i<2; i++) {
it = pm.getAnnotationIterator(offset, tsel.getLength(), true, true);
if (it.hasNext()) {
break;
}